<template>
  <div>
      <column-list :list="testData"></column-list>
  </div>
</template>

<script lang='ts'>
import {defineComponent} from 'vue'
import ColumnList,{ColumnListPros} from '@/components/ColumnList/ColumnList.vue'
const testData: ColumnListPros[] = [
  {
    id: 1,
    title: 'test1专栏',
    avatar: 'https://dss3.baidu.com/-rVXeDTa2gU2pMbgoY3K/it/u=3330507480,2769864377&fm=202&mola=new&crop=v1',
    description: '描述1'
    
  },
  {
    id: 2,
    title: 'test2专栏',
    avatar: 'https://dss3.baidu.com/-rVXeDTa2gU2pMbgoY3K/it/u=3330507480,2769864377&fm=202&mola=new&crop=v1',
    description: '描述2'
    
  },
  {
    id: 3,
    title: 'test3专栏',
    avatar: 'https://dss3.baidu.com/-rVXeDTa2gU2pMbgoY3K/it/u=3330507480,2769864377&fm=202&mola=new&crop=v1',
    description: '描述3'
    
  },
  {
    id: 4,
    title: 'test4专栏',
    description: '描述4'
    
  }
]
export default defineComponent({
  components: {
    ColumnList
  },
  setup(){
    return {
      testData
    }
  }
})
</script>

<style>

</style>